﻿using netcore_service.Dto;
using netcore_service.Model;
using Panda.DynamicWebApi;
using Panda.DynamicWebApi.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace netcore_service.IService
{
    [DynamicWebApi]
    public interface IMeetSubmitInfoService : IDynamicWebApi
    {
        Task<ApiResult<List<MeetSubmitInfo>>> MeetSubmitInfoListAsync(PagesModel pagesModel);
        Task<ApiResult<MeetSubmitInfo>> MeetSubmitInfoTopOne();
        Task<ApiResult<bool>> MeetSubmitInfoUpdateOrAddAsync(MeetSubmitInfo meetSubmitInfo);
        Task<ApiResult<MeetSubmitInfo>> MeetSubmitInfoByIdAsync(int id);
        Task<ApiResult<bool>> MeetSubmitInfoDelAsync(int id);
    }
}
